package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * @TableName t_order
 */
@TableName(value ="t_order")
@Data
public class Order implements Serializable {
    /**
     *
     */
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private String id;

    /**
     *
     */
    private String orderCode;

    /**
     *
     */
    private String carId;

    /**
     *
     */
    private String userId;

    /**
     *
     */
    private String roadId;

    /**
     *
     */
    private String berthId;

    /**
     *
     */
    private String inspectorId;

    /**
     *
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     *
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    /**
     *
     */
    private String parkingTime;

    /**
     *
     */
    private BigDecimal price;

    /**
     *
     */
    private Date payTime;

    /**
     *
     */
    private String orderStatus;

    /**
     *
     */
    @TableLogic
    private String isDeleted;

    /**
     *
     */
    private String alipayCode;

    /**
     *
     */
    private String alipayTrade;

    /**
     *
     */
    private Date leaveTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
